package com.dhecp.project.storage.mapper;
import com.dhecp.core.genericDao.GenericDao;
import com.dhecp.project.common.domain.UpdateFlow;
import com.dhecp.project.storage.domain.HwReconcile;
import com.dhecp.project.storage.domain.HwReconcileSelect;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 海外仓对账单(HwReconcile)表数据库访问层
 *
 * @author fxz
 * @since 2024-02-29 16:22:35
 */
public interface HwReconcileMapper extends GenericDao<HwReconcile, String>{

    int updateFlow(UpdateFlow updateFlow);

    //查询是否有重复的月份数据
    int countHwMonthAndBidAndWarehouseAddress(HwReconcile hwReconcile);

    /**
     *@Description: 修改状态
     */
    int updateState(@Param("bid")String bid, @Param("stateName")String stateName);

    List<HwReconcileSelect> queryListSelect(Map<String, Object> params);


}

